<%@ Page SmartNavigation="true" language="c#" Inherits="FlashBack.Web.SendEmails"  CodeFile="SendEmails.aspx.cs" CodeFileBaseClass="FlashBack.Web.PageBase" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
<meta content="Microsoft Visual Studio 7.0" name=GENERATOR>
<meta content=C# name=CODE_LANGUAGE>
<meta content="JavaScript (ECMAScript)" name=vs_defaultClientScript>
<meta content=http://schemas.microsoft.com/intellisense/ie5 name=vs_targetSchema><LINK href="FlashBack.css" type=text/css rel=stylesheet >
  </HEAD>
<body>
<form id=ManageUsers method=post runat="server">
<table cellSpacing=0 cellPadding=4 width="100%" border=0>
  <tr>
    <td class=Header width="90%">Send E-mails </td>
    <td class=Header></td></tr></table>
<div align=center>
<h4>Send E-mails to:</h4></div>
<div align=center><asp:datagrid id=UsersGrid OnItemDataBound="onRowBound" CellPadding="4" Width="90%" BorderColor="Green" BorderStyle="Solid" AutoGenerateColumns="False" Runat="server" CssClass="searchBody">
<HeaderStyle CssClass="bandHeader">
</HeaderStyle>

<Columns>
<asp:TemplateColumn ItemStyle-Width="5%" HeaderText="" ItemStyle-HorizontalAlign="Center">
	<ItemTemplate>
			<asp:CheckBox EnableViewState="True" ID="select" Runat="server"></asp:CheckBox>
	</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="Name" HeaderText="Name"></asp:BoundColumn>
<asp:BoundColumn DataField="Email" HeaderText="E-mail"></asp:BoundColumn>
<asp:BoundColumn DataField="Can Upload" HeaderText="Can Upload"></asp:BoundColumn>
<asp:BoundColumn DataField="Role" ItemStyle-Width="20%" HeaderText="Role"></asp:BoundColumn>
</Columns>
</asp:datagrid></div><div align="center"><h4>Using this E-mail template</h4></div>
<div align=center>
<table class=searchBody cellPadding=5 width="70%">
  <tr>
    <td colSpan=2><asp:label id=ErrorText Runat="server" Visible="False" Font-Bold="True" ForeColor="Red">Error!</asp:label></td></tr>
  <tr>
    <td noWrap width="10%">Subject:</td>
    <td width="80%"><asp:textbox id="subject" Runat="server" cssclass="searchInput"></asp:textbox></td></tr>
  <tr>
    <td noWrap valign="top">Body:</td>
    <td><asp:textbox id="body" Runat="server" TextMode="MultiLine" cssclass="searchInput" Rows="15"></asp:textbox></td></tr>
  <tr>
    <td align=right colSpan=2><asp:button id=send Runat="server" Text="Send E-mails" OnCommand="Sendmail"></asp:button></td></tr></table></div></form></TR></TBODY>
<DIV></DIV></FORM></body>
</HTML>
